P+ - Game & Watch - Action - 0x119
Entry Script
- if (FacingRight)
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: 1 }
- else
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: -1 }
- CreateInterrupt { interrupt_id: None, action: 0x11c, requirement: ((RandomAccessInt (0x8) GreaterThan scalar(30))) }
- PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool (0x11))
- Subroutine(0x23b78)
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialLw)
- else
- ChangeSubactionRestartFrame(SpecialLw)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirLw)
- else
- ChangeSubactionRestartFrame(SpecialAirLw)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- UnknownEvent { namespace: 0x4, code: 0x5, unk1: 0x0, arguments: [Value(24)] }
- LoopRest
Exit Script